#ifndef						__ENCODER_H__
# define					__ENCODER_H__

#include					<iostream>
#include					<opus/opus.h>
#include					"packet.h"
#include					"SoundPacket.h"

# define PACKET_SIZE		150

class						Encoder
{
public:
	Encoder();
	~Encoder();

private:
	OpusEncoder				*_enc;
	int						_channel;

public:
	virtual void			start();
	virtual void			encode(SoundPacket*, Packet*);
};

#endif						// !__ENCODER_H__
